//
//  ProdCateViewCell.h
//  JiaoX
//
//  Created by 尹桥印 on 14/11/18.
//  Copyright (c) 2014年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#define PROD_IDENTIFIER @"prodItem2col"
#import "ProductItemInfo.h"
#define ProdNameFont [UIFont systemFontOfSize:[DimensUtils getScaleX:14]]
#define ProdNewPriceFont [UIFont systemFontOfSize:[DimensUtils getScaleX:14]]
#define ProdBuyCountFont [UIFont systemFontOfSize:[DimensUtils getScaleX:11]]
#define ProdGiftFont [UIFont systemFontOfSize:[DimensUtils getScaleX:12]]
#define PRODCATEHVIEW_SMALL_HEIGHT (JXScreenW-3*JXPublicInset)*0.5 + JXPublicInset*3 + [ProdNameFont lineHeight] + [ProdNewPriceFont lineHeight] - 3
#define PRODCATEHVIEW_LARGE_HEIGHT (JXScreenW-3*JXPublicInset)*0.5 + JXPublicInset*3 + [ProdNameFont lineHeight] + [ProdNewPriceFont lineHeight] + 17 + JXPublicInset/2 - 3


@interface ProdCateHViewCell : UICollectionViewCell
+ (instancetype)cellWithTableView:(UICollectionView *)collectionView indexPath:(NSIndexPath *)indexPath;
-(void)setProdData:(ProductItemInfo *)prod isAdd:(BOOL)isAdd;
@end
